<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>求职者登录</title>
<!-- 新 Bootstrap 核心 CSS 文件 -->
<link rel="stylesheet" href="<%=request.getContextPath() %>/static/common/plugin/bootstrap-3.3.5/css/bootstrap.min.css">
<!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
<script src="<%=request.getContextPath() %>/static/common/plugin/jquery-1.11/jquery.min.js"></script>
<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<script src="<%=request.getContextPath() %>/static/common/plugin/bootstrap-3.3.5/js/bootstrap.min.js"></script>
</head>
<body>
     <!-- 登录失败后的页面 -->
 <c:if test="${!empty param.errorMsg }">
     <div class="alert alert-warning alert-dismissible fade in" role="alert">
      <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
      <strong><h3><center><font color="red">用户名或密码错误!</font></center></h3></strong>
     </div>
 </c:if>
 
 <c:if test="${!empty param.logoutSuccess }">
     <div class="alert alert-warning alert-dismissible fade in" role="alert">
      <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
      <strong><h3><center><font color="red">系统已退出，请重新登录</font></center></h3></strong>
     </div>
 </c:if>
     
 <c:if test="${!empty param.registerSuccess}">
     <div class="alert alert-success alert-dismissible fade in" role="alert">
      <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
      <strong><h3><center><font color="green">您已注册成功，请登录</font></center></h3></strong>
     </div>
 </c:if>
      <center><h1>求职者登录</h1></center>
     <hr>
    
     
     
<form class="form-horizontal" action="<%=request.getContextPath() %>/TalentServlet?command=login" method="post">
  <div class="form-group">
    <label for="inputEmail3" class="col-sm-2 control-label"><h4>账号:</h4></label>
    <div class="col-sm-10">
      <input type="text" class="form-control" id="inputEmail3" name="code" placeholder="账号...." value="520">
    </div>
  </div>
  <div class="form-group">
    <label for="inputPassword3" class="col-sm-2 control-label"><h4>密码:</h4></label>
    <div class="col-sm-10">
      <input type="password" class="form-control" id="inputPassword3" name="password" placeholder="密码...." value="519918">
    </div>
  </div>
  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      <div class="checkbox">
        <label>
          <input type="checkbox"> 记住我
        </label>
      </div>
    </div>
  </div>
  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      <input type="submit" class="btn btn-info" value="登录"></input>
      <input type="button" class="btn btn-warning" value="返回首页" onclick="location='<%=request.getContextPath()%>/PositionServlet?command=showPosition'"></input>
    </div>
  </div>
</form>

</body>
</html>